character

open fun character(): String

Returns a UTF-8 character associated with the physical key, if it has a printed representation.

Otherwise, returns a pre-defined value, such as "Alt" for the Alt key. The possible values are listed in the W3C specification.

Since

7.12